package com.inspur.sc.springboot.service;

import com.inspur.sc.springboot.entity.SysGroup;
import com.inspur.sc.springboot.vo.SysGroupVO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface SysGroupService {

    boolean save(SysGroup group,List<Integer> roles);

    SysGroupVO findById(Integer groupId);

    List<SysGroup> findAll();

    Page<SysGroup> findAll(Pageable pageable);

    boolean deleteById(Integer groupId);
}
